export interface TabItemState {
  code: string;
  path: string;
  title: string;
  icon: string;
  closable: boolean;
}

/**标签*/
export class TabsState {
  /**标签激活选项*/
  default_active: string = '1000';
  /**上次选中的标签*/
  last_active: string = '1000';
  /**列表*/
  list: TabItemState[] = [
    {
      code: '1000',
      path: '/admin/home',
      title: '首页',
      icon: 'home',
      closable: false
    },
    {
      code: '1001',
      path: '/admin/generic-http-receive-service',
      title: '通用的HTTP接收服务',
      icon: 'http',
      closable: true
    }
  ];
}
